package com.dormitory.dao;

import com.dormitory.model.Building;
import java.util.List;

public interface BuildingDao {
    boolean save(Building building);
    boolean update(Building building);
    boolean delete(Integer buildingId);
    Building findById(Integer buildingId);
    List<Building> findAll();
    List<Building> findByCondition(String condition);
} 